package com.can.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.can.domain.ResponseResult;
import com.can.domain.entity.User;
import com.can.domain.vo.PageVO;
import com.can.domain.vo.UserDetailVO;
import com.can.domain.vo.UserInfoVO;

import java.util.List;


/**
 * 用户表(User) 服务接口
 *
 * @author cancan
 * @since 2023-05-06 14:31:22
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult<PageVO> page(Integer pageNum, Integer pageSize, User user);

    void add(User user);

    void remove(List<Long> ids);

    UserDetailVO get(Long id);

    void update(UserInfoVO vo);
}
